from leancloud import cloudfunc
import leancloud
leancloud.init("m2DEUE15sQSEgScUDV4gxybI-9Nh9j0Va", "rTVC9nDTkAbJvgCzMUoJxG9s")
print (cloudfunc.run('getGamesList', userID = '5961d8e07a1ff9003265017e'))
print (cloudfunc.run('addFavorite', gameID = '5960ccbd7a1ff9003264a72b', userID = '5961d8e07a1ff9003265017e'))
print (cloudfunc.run('rmFavorite', gameID = '5960ccbd7a1ff9003264a72b', userID = '5961d8e07a1ff9003265017e'))
print (cloudfunc.run('clickGame', gameID = '5960ccbd7a1ff900264a72b'))
print (cloudfunc.run('clickGame', gameID = '5960ccbd7a1ff9003264a72b'))